<!DOCTYPE HTML PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xml:lang="fr" xmlns="http://www.w3.org/1999/xhtml">
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">		
		<title><?php echo $this->lang->line('site_title')?></title>
		
	<!-- Begin CSS -->
		<link href="<?php echo base_url()?>css/style.css" rel="stylesheet" type="text/css" />
		<!--[if lte IE 7]>
		<link href="<?php echo base_url()?>css/yaml/patches/patch_grids2.css" rel="stylesheet" type="text/css" />
		<![endif]-->
	<!-- End CSS -->
	
    <!-- Begin JS -->	
    	<script type="text/javascript"> $base_url = '<?php echo base_url()?>';</script>
		<script type="text/javascript" src="<?php echo base_url()?>js/jqueryui/js/jquery-1.4.4.min.js"></script>
		<script type="text/javascript" src="<?php echo base_url()?>js/global.js"></script>        
		<?php echo $inc_script?>
    <!-- End JS -->	
	</head>
	
	<body>

		<div class="page_margins">
		  <div class="page">
		    <div id="header" role="banner">
				<div id="topnav">
                		<?php 
							if (!$this->session->userdata('ss_email')) {
								echo '
									<div class="hlist">
										<ul>
											<li>'.anchor('register',"Dang ky").'</li>
											<li>'.anchor('login',"Dang nhap").'</li>
										</ul>
									</div>
									';
							} else {
								echo '
									Hello '.$this->session->userdata('ss_email').'
									<div class="hlist">
										<ul>
											<li>'.anchor('logout',"Thoat").'</li>
										</ul>
									</div>
								';
								
								//echo 'Hello '.$this->session->userdata('ss_email').' |' .anchor('ads',"Quang cao cua toi").' |' .anchor('member',"Thong tin tai khoan").' |' .anchor('logout',"Thoat");
							}
						?>
                </div>
                
				<!--<div id="topnav2" role="contentinfo">
		        <?php 
					if (!$this->session->userdata('ss_email')) {
						echo anchor('login',"Dang nhap") . ' | ' . anchor('register',"Dang ky");
					} else {
						echo 'Hello '.$this->session->userdata('ss_email').' |' .anchor('ads',"Quang cao cua toi").' |' .anchor('member',"Thong tin tai khoan").' |' .anchor('logout',"Thoat");
					}
				?>
		     	 </div>-->
		        <!--<div id="hornav" role="horizonalnavigation">
		      <?php echo anchor('','Trang chu') .' | '.anchor('ads/add','Dang quang cao')?>
		      </div>-->
		      <h1>Groupon Clone</h1>
		    </div>